Compressed Movie Resources
Compressed movies are stored in a compressed movie resource atom container as follows:
-
The outermost atom in the movie resource is of type
MovieResourceAtomType
.
This is the same as for uncompressed movie resources.
-
Within the
MovieResourceAtomType
atom is an atom whose ID is
CompressedMovieAID
.
The
CompressedMovieAID
atom contains two atoms:
-
The atom whose ID is
DataCompressionAtomAID
contains a four-byte code that specifies the decompressor component that must be used to decompress the compressed movie resource.
-
In the atom whose ID is
CompressedMovieDataAID
, the first four bytes of the specify the length of the movie resource data when it is decompressed, in bytes. The remaining bytes are the compressed movie resource.
© 1997 Apple Computer, Inc.Previous | Chapter Top | Chapter Contents | Next